3ddb79c0LzqqS0LhAQ50ekgj4oGl7Q xen/include/xen/sched.h
403a06a7H0hpHcKpAiDe5BPnaXWTlA xen/include/xen/serial.h
4252c315hw0xXYMKIfFzhomi1M1yNA xen/include/xen/shadow.h
-3ddb79c14dXIhP7C2ahnoD08K90G_w xen/include/xen/slab.h
3ddb79c09xbS-xxfKxuV3JETIhBzmg xen/include/xen/smp.h
3ddb79c1Vi5VleJAOKHAlY0G2zAsgw xen/include/xen/softirq.h
3ddb79c2iIcESrDAB8samy_yAh6olQ xen/include/xen/spinlock.h
3ddb79c0BnA20PbgmuMPSGIBljNRQw xen/include/xen/time.h
403a3edbG9K5uZjuY19_LORbQGmFbA xen/include/xen/trace.h
3ddb79c1-kVvF8cVa0k3ZHDdBMj01Q xen/include/xen/types.h
+3ddb79c14dXIhP7C2ahnoD08K90G_w xen/include/xen/xmalloc.h
41d291f5u3J3HYViXLs3cNuFGTvzNg xen/tools/Makefile
3eb3c87fc79FXLA6R9TvdBJNTvQDwA xen/tools/figlet/LICENSE
3eb3c87fPL2T_zBb0bHlbZY-ACEKRw xen/tools/figlet/Makefile
#include <xen/config.h>
#include <xen/types.h>
+#include <xen/lib.h>
#include <xen/kernel.h>
#include <xen/string.h>
#include <xen/init.h>
#include <xen/cache.h>
-#include <xen/slab.h>
#include <xen/acpi.h>
#include <asm/io.h>
#include <asm/system.h>
*/
#include <xen/config.h>
+#include <xen/lib.h>
#include <xen/init.h>
#include <xen/irq.h>
#include <xen/delay.h>
#if defined(CONFIG_IRQBALANCE)
# include <asm/processor.h> /* kernel_thread() */
# include <xen/kernel_stat.h> /* kstat */
-# include <xen/slab.h> /* kmalloc() */
+# include <xen/xmalloc.h> /* kmalloc() */
# include <xen/timer.h> /* time_after() */
# ifdef CONFIG_BALANCED_IRQ_DEBUG
*/
#include <xen/config.h>
+#include <xen/lib.h>
#include <xen/kernel.h>
#include <xen/init.h>
#include <xen/sched.h>
-#include <xen/slab.h>
#include <xen/spinlock.h>
#include <asm/msr.h>
/* This only handles 32bit MTRR on 32bit hosts. This is strictly wrong
because MTRRs can span upto 40 bits (36bits on most modern x86) */
+#include <xen/lib.h>
#include <xen/init.h>
#include <xen/mm.h>
-#include <xen/slab.h>
#include <asm/flushtlb.h>
#include <asm/io.h>
#include <asm/mtrr.h>
#include <xen/config.h>
#include <xen/perfc.h>
#include <xen/sched.h>
+#include <asm/hardirq.h>
#define DEFINE(_sym, _val) \
__asm__ __volatile__ ( "\n->" #_sym " %0 " #_val : : "i" (_val) )
#include <xen/config.h>
#include <xen/perfc.h>
#include <xen/sched.h>
+#include <asm/hardirq.h>
#define DEFINE(_sym, _val) \
__asm__ __volatile__ ( "\n->" #_sym " %0 " #_val : : "i" (_val) )
#include <xen/event.h>
#include <xen/shadow.h>
#include <asm/domain_page.h>
+#include <asm/hardirq.h>
/*
* To allow safe resume of do_dom_mem_op() after preemption, we need to know
#include <xen/sched.h>
#include <xen/event.h>
#include <xen/multicall.h>
+#include <asm/hardirq.h>
struct mc_state mc_state[NR_CPUS];
#include <xen/perfc.h>
#include <xen/sched.h>
#include <xen/spinlock.h>
-#include <xen/slab.h>
#include <xen/mm.h>
#include <xen/irq.h>
#include <xen/softirq.h>
#include <xen/ac_timer.h>
#include <xen/perfc.h>
#include <xen/sched-if.h>
-#include <xen/slab.h>
#include <xen/softirq.h>
/* all per-domain BVT-specific scheduling info is stored here */
* based on code by Mark Williamson (C) 2004 Intel Research Cambridge
*/
+#include <xen/lib.h>
#include <xen/sched.h>
#include <xen/sched-if.h>
#include <public/sched_ctl.h>
#include <xen/ac_timer.h>
#include <xen/softirq.h>
#include <xen/time.h>
-#include <xen/slab.h>
/*verbosity settings*/
#define SEDFLEVEL 0
#include <asm/io.h>
#include <xen/lib.h>
#include <xen/sched.h>
-#include <xen/slab.h>
#include <xen/smp.h>
#include <xen/trace.h>
#include <xen/errno.h>
#include <stdarg.h>
#include <xen/config.h>
#include <xen/types.h>
-#include <xen/slab.h>
+#include <xen/xmalloc.h>
#include <xen/string.h>
#define BUG() do { \
#include <xen/spinlock.h>
#include <xen/cache.h>
#include <xen/smp.h>
-#include <asm/page.h>
-#include <asm/processor.h>
#include <public/xen.h>
#include <public/dom0_ops.h>
#include <xen/list.h>
#include <xen/time.h>
#include <xen/ac_timer.h>
#include <xen/delay.h>
-#include <asm/atomic.h>
-#include <asm/current.h>
#include <xen/spinlock.h>
#include <xen/grant_table.h>
-#include <asm/hardirq.h>
#include <asm/domain.h>
-#include <asm/bitops.h>
extern unsigned long volatile jiffies;
extern rwlock_t domlist_lock;
+++ /dev/null
-
-#ifndef __SLAB_H__
-#define __SLAB_H__
-
-/* Allocate space for typed object. */
-#define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type)))
-
-/* Allocate space for array of typed objects. */
-#define xmalloc_array(_type, _num) ((_type *)_xmalloc_array(sizeof(_type), __alignof__(_type), _num))
-
-/* Allocate untyped storage. */
-#define xmalloc_bytes(_bytes) (_xmalloc(_bytes, SMP_CACHE_BYTES))
-
-/* Free any of the above. */
-extern void xfree(const void *);
-
-/* Underlying functions */
-extern void *_xmalloc(size_t size, size_t align);
-static inline void *_xmalloc_array(size_t size, size_t align, size_t num)
-{
- /* Check for overflow. */
- if (size && num > UINT_MAX / size)
- return NULL;
- return _xmalloc(size * num, align);
-}
-
-#endif /* __SLAB_H__ */
--- /dev/null
+
+#ifndef __XMALLOC_H__
+#define __XMALLOC_H__
+
+/* Allocate space for typed object. */
+#define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type)))
+
+/* Allocate space for array of typed objects. */
+#define xmalloc_array(_type, _num) ((_type *)_xmalloc_array(sizeof(_type), __alignof__(_type), _num))
+
+/* Allocate untyped storage. */
+#define xmalloc_bytes(_bytes) (_xmalloc(_bytes, SMP_CACHE_BYTES))
+
+/* Free any of the above. */
+extern void xfree(const void *);
+
+/* Underlying functions */
+extern void *_xmalloc(size_t size, size_t align);
+static inline void *_xmalloc_array(size_t size, size_t align, size_t num)
+{
+ /* Check for overflow. */
+ if (size && num > UINT_MAX / size)
+ return NULL;
+ return _xmalloc(size * num, align);
+}
+
+#endif /* __XMALLOC_H__ */